package com.woniuxy.dao;

import com.woniuxy.entity.Levelapplicationform;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface AgentLevelSettingDao {
    //当前用户提交申请
    int insertLevelApplicationform(Levelapplicationform levelapplicationform);

    //查询当前账号提交的所有申请
    List<Levelapplicationform> selectMyLevelApplicationform(int memberId);
    //查询当前账号收到的申请
    List<Levelapplicationform> selectOtherLevelApplicationform(int referenceId);

    //删除提交的申请
    int deleteLevelApplicationform(int id);

    //修改自己提交的申请
    int updateLevelApplicationform(Levelapplicationform levelapplicationform);
}
